<%@page import="com.kaishengit.entity.Prod"%>
<%@ page language="java" pageEncoding="UTF-8"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    
    <title>我的jsp项目</title>

  </head>
  
  <body>
  	<h3>Edit Product</h3>
  	
  	<%
  		Prod prod = (Prod)request.getAttribute("prod");
  	%>
  	
  	<form action="edit.jsp" method="post" id="myform">
  		<input type="hidden" name="id" value="<%=prod.getId()%>"/>
  		Prodcut Name: <input type="text" name="name" value="<%=prod.getProdName()%>"/><br/>
  		Price: <input type="text" name="price" value="<%=prod.getPrice()%>"/><br/>
  		<input type="submit" value="Edit" id="btn"/>
  	</form>
  </body>
</html>
